- Joined
- Mar 25, 2024
- Messages
- 51
- Points
- 8
Reputation:
So the code for this is meant for 2.3 & I'm wondering if there's a way to modify this so it works on 2.2? I tried using it as-is but there's just rectangles beside the options instead of the actual icons.
CSS:
/* [cXF] Icons in More options menu */
.menu--right .menu-content a.menu-linkRow {
&:before {
padding-right: 5px;
}
&[href*="/edit"]:before {
.m-faContent(@fa-var-edit);
}
&[href*="/change-type"]:before {
.m-faContent(@fa-var-boxes-alt);
}
&[href*="/quick-close"]:before {
.m-faContent(@fa-var-lock);
}
&[href*="/quick-stick"]:before {
.m-faContent(@fa-var-thumbtack);
}
&[href*="/feature"]:before {
.m-faContent(@fa-var-award);
}
&[href*="/poll/create"]:before {
.m-faContent(@fa-var-poll);
}
&[href*="/delete"]:before {
.m-faContent(@fa-var-trash-alt);
}
&[href*="/move"]:before {
.m-faContent(@fa-var-arrow-from-left);
}
&[href*="/reply-bans"]:before {
.m-faContent(@fa-var-ban);
}
&[href*="/moderator-actions"]:before {
.m-faContent(@fa-var-clipboard-user);
}
}
/*****/
Last edited: